package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.Date;

/**
 * Created on 2017/11/1.
 * @author 朱坤涛
 * 消息推送项
 */
@Entity(value = "PushMessage", noClassnameStored = true)
public class PushMessage extends BaseLongIdEntity{
    private Long memberId;
    private String info;
    private Integer type; //1-订单支付成功通知 2-订单发货通知
    private Date createTime;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
